package com.hit.server.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hit.server.api.entity.RobotEntity;
import com.hit.server.api.dto.RobotQueryDTO;
import com.hit.server.api.dto.RobotSaveDTO;
import com.hit.server.api.dto.RobotUpdateDTO;
import com.hit.server.api.vo.RobotVO;

import java.util.List;

public interface RobotService extends IService<RobotEntity> {

	Page<RobotVO> getRobotPage(Page page, RobotQueryDTO dto);
	
	RobotVO getRobotById(Long id);
	
	Boolean saveRobot(RobotSaveDTO dto);
	
	Boolean updateRobotById(RobotUpdateDTO dto);
	
	Boolean removeRobotBatchByIds(List<Long> ids);
	
}